Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Pick Parts Masks

QuickDraw 3D defines pick parts masks to indicate the kinds of objects it has placed in the hit list. You use the face, vertex, and edge values to pick parts of meshes. To pick any other object, use the value kQ3PickPartsObject .

typedef enum TQ3PickPartsMasks {
    kQ3PickPartsObject                                      = 0,
    kQ3PickPartsMaskFace                                    = 1 << 0,
    kQ3PickPartsMaskEdge                                    = 1 << 1,
    kQ3PickPartsMaskVertex                                  = 1 << 2
} TQ3PickPartsMasks;
typedef unsigned long       TQ3PickParts;

Constant descriptions

kQ3PickPartsObject
The hit list contains only whole objects.
kQ3PickPartsMaskFace
The hit list contains faces.
kQ3PickPartsMaskEdge
The hit list contains edges.
kQ3PickPartsMaskVertex
The hit list contains vertices.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |